package com.itheima02.service;

import com.itheima02.domain.Student;

import java.util.List;

public interface StudentService {
    // 查询所有
    public abstract List<Student> findAll();

    // 根据学号查询
    public abstract Student findByid(Integer id);

    // 新增
    public abstract int insert(Student stu);

    // 修改
    public abstract int update(Student stu);

    // 根据学号删除
    public abstract int delete(Integer sid);
}
